package com.fanh.mapper;

import com.fanh.model.SysRoleOffice;
import com.fanh.model.SysRoleOfficeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysRoleOfficeMapper {
    long countByExample(SysRoleOfficeExample example);

    int deleteByExample(SysRoleOfficeExample example);

    int deleteByPrimaryKey(@Param("roleId") String roleId, @Param("officeId") String officeId);

    int insert(SysRoleOffice record);

    int insertSelective(SysRoleOffice record);

    List<SysRoleOffice> selectByExample(SysRoleOfficeExample example);

    int updateByExampleSelective(@Param("record") SysRoleOffice record, @Param("example") SysRoleOfficeExample example);

    int updateByExample(@Param("record") SysRoleOffice record, @Param("example") SysRoleOfficeExample example);
}